package com.ruoyi.ruoyixingyue.modules.api.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.utils.page.PageData;
import com.ruoyi.ruoyixingyue.modules.api.entity.CourseCatalogue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ruoyixingyue.modules.api.po.CatalogueDetailPo;
import com.ruoyi.ruoyixingyue.modules.api.po.CourseCatalogueListPo;
import com.ruoyi.ruoyixingyue.modules.api.vo.CatagueInsertVo;
import com.ruoyi.ruoyixingyue.modules.api.vo.CourseCatalogueListVo;
import com.ruoyi.ruoyixingyue.modules.utils.Condition;

import java.util.List;

/**
 * <p>
 * 章节表 服务类
 * </p>
 *
 * @author lzz
 * @since 2024-02-24
 */
public interface ICourseCatalogueService extends IService<CourseCatalogue> {

    R<PageData<CourseCatalogueListPo>> courseCatalogueListAPI_001(Condition<CourseCatalogueListVo> condition);

    R<List> courseCatalogueDictAPI_002();

    R<List> PidDictAPI_003(Long courseId);

    R<String> catagueInsertAPI_004(CatagueInsertVo catagueInsertVo);

    R<String> catagueDeleteAPI_005(Long id);

    R<CatalogueDetailPo> cataguegetByIdAPI_006(Long id);
}
